package com.gen.entity;

import java.util.List;

public class Depart {
	private Integer departid;
	private String name;
	private Integer deanid;
	private String deanname;
	private Character sex;
	private List<User_course> user_courses;
	public Integer getDepartid() {
		return departid;
	}
	public void setDepartid(Integer departid) {
		this.departid = departid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getDeanid() {
		return deanid;
	}
	public void setDeanid(Integer deanid) {
		this.deanid = deanid;
	}
	public String getDeanname() {
		return deanname;
	}
	public void setDeanname(String deanname) {
		this.deanname = deanname;
	}
	public Character getSex() {
		return sex;
	}
	public void setSex(Character sex) {
		this.sex = sex;
	}
	public List<User_course> getUser_courses() {
		return user_courses;
	}
	public void setUser_courses(List<User_course> user_courses) {
		this.user_courses = user_courses;
	}
	public Depart(Integer departid, String name, Integer deanid, String deanname, Character sex,
			List<User_course> user_courses) {
		super();
		this.departid = departid;
		this.name = name;
		this.deanid = deanid;
		this.deanname = deanname;
		this.sex = sex;
		this.user_courses = user_courses;
	}
	public Depart() {
		super();
	}
	@Override
	public String toString() {
		return "Depart [departid=" + departid + ", name=" + name + ", deanid=" + deanid + ", deanname=" + deanname
				+ ", sex=" + sex + ", user_courses=" + user_courses + "]";
	}
	
}
